Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODLinkSource


IsAutoUpdate

The IsAutoUpdate method returns a Boolean value that indicates whether this link-source object's update mode is automatic.

ODBoolean IsAutoUpdate();
return value
kODTrue if the update mode for this link-source object is automatic, otherwise kODFalse.
DISCUSSION
If your part is the source part of this link-source object, you can call this method to determine when your part should update the content of this link-source object.

If this method returns true, your part should update this link-source object whenever the source content is changed. If it returns false, your part should update this link-source object when the user clicks the Update Now button in the Link Source Info dialog box. (Whenever your part updates this link-source object, it should also call the ContentUpdated method.)

The update mode can be changed by the SetAutoUpdate method.

SEE ALSO
The ODLinkSource::ContentUpdated method (page 378).
The ODLinkSource::SetAutoUpdate method (page 384).
The ODLinkSource::ShowLinkSourceInfo method (page 386).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help